package com.basic.backend.model.dto.captcha;

import lombok.Data;

import java.io.Serializable;

/**
 * 验证码信息封装类
 */
@Data
public class CaptchaInfo implements Serializable {
    // 验证码内容
    private String code;
    
    // 过期时间戳（毫秒）
    private long expireTime;
    
    // 尝试次数
    private int tryCount;



    public CaptchaInfo() {}

    public CaptchaInfo(String code, long expireTime, int tryCount) {
        this.code = code;
        this.expireTime = expireTime;
        this.tryCount = tryCount;
    }
    private static final long serialVersionUID = 1L;
}